import * as network from '@/utils/request';
import { expressRoute } from '../../config/Apis';

export async function getPushList(params: any): Promise<any> {
    return network.post(expressRoute.gearsPushList, {
        data: params,
        requestType: 'form'
    });
}

export async function repushByDb(params: any): Promise<any> {
    return network.post(expressRoute.repushByDb, {
        data: params,
        requestType: 'form'
    });
}

export async function rePushByIds(params: any): Promise<any> {
    return network.post(expressRoute.rePushByIds, {
        data: params,
        requestType: 'form'
    });
}

export async function setSolve(params: any): Promise<any> {
    return network.post(expressRoute.solve, {
        data: params,
        requestType: 'form'
    });
}